//
//  BaseModel.m
//  BreadTravel
//
//  Created by dllo on 15/12/22.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "BaseModel.h"

@implementation BaseModel


-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}

+(instancetype)modelWithDictionary:(NSDictionary *)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}


-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{}







@end
